第 5 步:添加另一个 if 语句。确保您的新语句从新行开始并且没有缩进!同样,如果前两个 if 语句为假,则代码跳到下一个未缩进的行!

  • 点击逻辑,然后.将另一个if块拖到您的代码中。
  • 测试值"yes"更改为"scissors"
  • 点击图形,然后并将Scissors精灵拖到第三个 if 语句中。

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)